package com.ucar.train.dao;

import com.ucar.train.dto.CrmPersonDTO;
import org.apache.ibatis.annotations.Param;


public interface CrmPersonMapper {

    int deleteByPrimaryKey(Long id);

    /**
     * @Author: wufuqiang
     * @Description:插入个人用户信息
     * @Param:a
     * @return:a
     * @Date: 2019/8/15
     */
    int insert(@Param("crmPersonDTO") CrmPersonDTO crmPersonDTO);

    int insertSelective(CrmPersonDTO record);

    /**
     * @Author: wufuqiang
     * @Description: 查询用户信息
     * @Param:a
     * @return:a
     * @Date: 2019/8/15
     */
    CrmPersonDTO selectById(Long id);

    int updateByPrimaryKeySelective(CrmPersonDTO record);

    /**
     * @Author: wufuqiang
     * @Description:修改个人用户信息
     * @Param:a
     * @return:a
     * @Date: 2019/8/15
     */
    int update(@Param("crmPersonDTO") CrmPersonDTO crmPersonDTO);
}